﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="YearAssessmentRecordUserControl.ascx.cs" Inherits="JM.JCY.SharePointComponent.PersonalInformationDocument.YearAssessmentRecord.YearAssessmentRecordUserControl" %>
<%@ Assembly Name="NCS.IConnect.ApplicationContexts, Version=3.9.0.0, Culture=neutral, PublicKeyToken=a20767533a162583" %> 
<%@ Import Namespace="NCS.IConnect.ApplicationContexts" %>
<%@ Register Src="../PersonalInformationDocLeftMenu/PersonalInformationDocLeftMenuUserControl.ascx" TagName="PersonalInformationDocLeftMenuUserControl" TagPrefix="uc1" %>
<script src="/_layouts/JM.JCY.Resource/scripts/jQuery.dualListBox-1.3.js" language="javascript" type="text/javascript"></script>
<link href="/_layouts/JM.JCY.Resource/styles/JCYCSS1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    $(document).ready(function () {
        $("#td_YearAssessment").click(function () {
            $("#DivYearAssessment").slideToggle("slow", function callback() {
                if ($("#DivYearAssessment").is(":visible")) {
                    $("#imgBtnYearAssessment").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnYearAssessment").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_AwardInformation").click(function () {
            $("#DivAwardInformation").slideToggle("slow", function callback() {
                if ($("#DivAwardInformation").is(":visible")) {
                    $("#imgBtnAwardInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnAwardInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });

        $("#td_PunishInformation").click(function () {
            $("#DivPunishInformation").slideToggle("slow", function callback() {
                if ($("#DivPunishInformation").is(":visible")) {
                    $("#imgBtnPunishInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_collapse.png");
                }
                else {
                    $("#imgBtnPunishInformation").attr("src", "/_Layouts/JM.JCY.Resource/images/toggle_expand.png");
                }
            });
        });
    });
</script>
<div>
    <table class="main">
        <tr>
            <td valign="top" width="30%" runat="server" id="tdLeftMenu">
                <uc1:PersonalInformationDocLeftMenuUserControl ID="LeftMenuUserControl1" runat="server" />
            </td>
            <td valign="top" width="70%" runat="server" id="tdContent">
                <table class="content" width="98%">
                    <tr>
                        <td style="padding: 5px;">
                            <table width="100%" >
                                <tr>
                                    <td>
                                       <table width="100%" class="galleryHeader">
                                          <tr>
                                              <td id="td_YearAssessment" width="100%" style="cursor: pointer">
                                                    <img id="imgBtnYearAssessment" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                        alt="" />&nbsp;年度考核
                                                </td>
                                          </tr>
                                       </table>
                                      
                                    </td>
                                </tr>
                                <tr>
                                   <td>
                                     <div id="DivYearAssessment" visible="false" style="display: none;">
                                         <table width="95%" class="form">
                                         <tr>
                                               <td>
                                                   <asp:Label ID="YearAssessmentNoRecord" runat="server" ForeColor="#CC3300" Text="没有在【政工信息系统】找到相关的年度考核！" Visible="false"></asp:Label>
                                               </td>
                                           </tr>
                                             <tr>
                                                 <td>
                                                     <asp:DataList ID="dlYearAssessment" runat="server" OnItemDataBound="dlYearAssessment_ItemDataBound"
                                                         Width="100%">
                                                         <ItemTemplate>
                                                             <hr runat="server" id="hr" />
                                                             <table width="100%" class="profile">
                                                                 <tr>
                                                                     <td width="15%">
                                                                         <b>考核年度</b>
                                                                     </td>
                                                                     <td width="1%">
                                                                         :
                                                                     </td>
                                                                     <td width="24%">
                                                                         <asp:Label ID="lbYearAssessment" runat="server"></asp:Label>
                                                                     </td>
                                                                     <td width="15%">
                                                                         <b>考核结果</b>
                                                                     </td>
                                                                     <td width="1%">
                                                                         :
                                                                     </td>
                                                                     <td width="44%">
                                                                         <asp:Label ID="lbAssessmentResult" runat="server"></asp:Label>
                                                                     </td>
                                                                 </tr>
                                                             </table>
                                                         </ItemTemplate>
                                                     </asp:DataList>
                                                 </td>
                                             </tr>
                                         </table>
                                        
                                    </div>
                                   </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                    <tr>
                      <td style="padding: 5px;">
                            <table width="100%">
                               <tr>
                                    <td>
                                     <table width="100%" class="galleryHeader">
                                        <tr>
                                              <td id="td_AwardInformation" width="100%" style="cursor: pointer">
                                                    <img id="imgBtnAwardInformation" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                        alt="" />&nbsp;奖励信息
                                                </td>
                                          </tr>
                                     </table>
                                      
                                    </td>
                                </tr>
                                <tr>
                                   <td>
                                     <div id="DivAwardInformation" visible="false" style="display: none;">
                                         <table width="95%" class="form">
                                          <tr>
                                               <td>
                                                   <asp:Label ID="AwardInformationNoRecord" ForeColor="#CC3300" runat="server" Text="没有在【政工信息系统】找到相关的奖励信息！" Visible="false"></asp:Label>
                                               </td>
                                           </tr>
                                            <tr>
                                               <td>
                                                 <asp:DataList ID="dlAward" runat="server" OnItemDataBound= "dlAward_ItemDataBound"
                                                Width="100%">
                                                 <ItemTemplate>
                                                    <hr runat="server" id="hr" />
                                                    <table width="100%" class="profile">
                                                       <tr>
                                                          <td width="15%">
                                                             <b>奖励时间</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="24%">
                                                             <asp:Label ID="lbAwardDate" runat="server"></asp:Label>
                                                          </td>
                                                          <td width="15%">
                                                             <b>奖励名称</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="44%">
                                                             <asp:Label ID="lbAwardName" runat="server"></asp:Label>
                                                          </td>
                                                           
                                                       </tr>
                                                       <tr>
                                                          <td width="15%">
                                                             <b>授予单位名称</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="24%">
                                                             <asp:Label ID="lbAwardPlaceName" runat="server"></asp:Label>
                                                          </td>
                                                          <td width="15%">
                                                            
                                                          </td>
                                                          <td width="1%">
                                                           
                                                          </td>
                                                          <td width="44%">
                                                            
                                                          </td>
                                                       </tr>
                                                    </table>
                                                  </ItemTemplate>
                                        </asp:DataList>
                                               </td>
                                            </tr>
                                         </table>
                                        
                                    </div>
                                   </td>
                                </tr>
                            </table>
                      </td>
                    </tr>
                    <tr>
                      <td style="padding: 5px;">
                         <table width="100%">
                             <tr>
                                 <td>
                                     <table width="100%" class="galleryHeader">
                                         <tr>
                                              <td id="td_PunishInformation" width="100%" style="cursor: pointer">
                                                    <img id="imgBtnPunishInformation" src="/_Layouts/JM.JCY.Resource/images/toggle_expand.png"
                                                        alt="" />&nbsp;处分信息
                                                </td>
                                          </tr>
                                     </table>
                                    
                                 </td>
                             </tr>
                                <tr>
                                   <td>
                                     <div id="DivPunishInformation" visible="false" style="display: none;">
                                          <table width="95%" class="form">
                                          <tr>
                                               <td>
                                                   <asp:Label ID="PunishInformationNoRecord" runat="server" ForeColor="#CC3300" Text="没有在【政工信息系统】找到相关的处分信息！" Visible="false"></asp:Label>
                                               </td>
                                           </tr>
                                            <tr>
                                              <td>
                                                 <asp:DataList ID="dlPunish" runat="server" OnItemDataBound= "dlPunish_ItemDataBound"
                                                Width="100%">
                                                 <ItemTemplate>
                                                    <hr runat="server" id="hr" />
                                                    <table width="100%" class="profile">
                                                       <tr>
                                                          <td width="15%">
                                                             <b>处分日期</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="24%">
                                                             <asp:Label ID="lbPunishDate" runat="server"></asp:Label>
                                                          </td>
                                                          <td width="15%">
                                                             <b>处分理由</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="44%">
                                                             <asp:Label ID="lbPunishReason" runat="server"></asp:Label>
                                                          </td>
                                                           
                                                       </tr>
                                                       <tr>
                                                         <td width="15%">
                                                             <b>发文号</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="24%">
                                                             <asp:Label ID="lbPunishNumber" runat="server"></asp:Label>
                                                          </td>
                                                          <td width="15%">
                                                             <b>发文单位</b>
                                                          </td>
                                                          <td width="1%">
                                                           :
                                                          </td>
                                                          <td width="44%">
                                                             <asp:Label ID="lbPunishPlace" runat="server"></asp:Label>
                                                          </td>
                                                       </tr>
                                                    </table>
                                                  </ItemTemplate>
                                        </asp:DataList>
                                              </td>
                                            </tr>
                                          </table>
                                       
                                    </div>
                                   </td>
                                </tr>
                                
                         </table>
                      </td>
                    </tr>
                   
                </table>
            </td>
        </tr>
    </table>
</div>
